<script setup lang="ts">
//
import noLogin from "../login/noLogin.vue";
import login from "../login/login.vue";
import { ref } from "vue";

let loginflag = ref(false);

function loginfun() {

  loginflag.value = true

  console.log("loginfun", loginflag)
}


</script>

<template>

  <noLogin v-if="!loginflag" :loginfun="loginfun"></noLogin>

  <view v-else>
    <login></login>
  </view>


</template>

<style lang="scss">
page {
  width: 100%;
  height: 100%;
}
</style>
